# -*- coding: utf-8 -*-

# File Name： base_detector
# Description :
# Author : lirui
# create_date： 2022/6/3
# Change Activity:
from abc import ABCMeta, abstractmethod

from .base_module import BaseModule


class BaseDetector(BaseModule, metaclass=ABCMeta):
    """
    Base detector.
    """

    def __init__(self):
        super().__init__()

    @abstractmethod
    def forward(self, x, img_metas):
        pass

    @abstractmethod
    def extract_feat(self, x):
        pass
